package com.koron.common.web.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.business.common.entity.EqCodeBean;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 调用台账服务
 */
@FeignClient(value = "eam-service-device", fallbackFactory = FeignFallbackFactory.class)
public interface EquipmentService {

    // 调用台账服务对未进行冗余的台账，进行冗余二维码
    @GetMapping("/equipment/redundancyERcode")
    Response<EqCodeBean> redundancyERcode(@RequestParam("eqId") String eqId, @RequestParam("name") String name, @RequestParam("envVersion") String envVersion);

}
